package com.itheima.redbaby.engine;

import java.util.List;

import com.itheima.redbaby.bean.Product;

/***
 * "response": "newproduct",
	"productlist":
	[
		{
            "id": "1102539",        //商品ID
			"name": "雅培金装",    //商品名称
			"pic": "",              //商品图片URL
			"marketprice": "79",     //市场价
            "price": "78",          //会员价
		},  
		{
            "id": "1102539",        //商品ID
			"name": "雅培金装",    //商品名称
			"pic": "", 1             //商品图片URL
			"marketprice": "79",     //市场价
            "price": "78",          //会员价
		}
	] ,
    "list_count":"15"         //商品总数
}
 * @author xun
 *newproductServlet
 */
public  interface   NewProductEngine {
	/***
	 * 获得最新上架产品信息
	 * 
	 * @param page
	 * @param pageNum
	 * @return
	 */
	public  List<Product>  getNewPList( int  page , int pageNum);
}
